﻿using System;
using System.Data;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SD.Entities;

namespace SD.IBUS
{
    public interface IAddressBIZ 
    {
        DataTable ListAddressByCodition(string postcode, string street, string town);

        DataTable ListAddress();

        List<Address> GetAll();

        List<Address> GetByPostCode(string postCode);

        Address GetById(string addressId);

        bool Insert(Address address);

        bool Update(Address address);

        bool Delete(string addressId);
    }
}
